Carbon


GetVInfo

Header: Files.h Carbon status: Unsupported

Gets information about a mounted volume.

OSErr GetVInfo (
    SInt16 drvNum, 
    StringPtr volName, 
    SInt16 *vRefNum, 
    SInt32 *freeBytes
);
Parameter descriptions
drvNum

The drive number of the volume for which information is requested. You can pass 0 in this parameter to get information about the default volume.

volName

On output, a pointer to the name of the specified volume.

vRefNum

On return, a pointer to the volume reference number of the specified volume.

freeBytes

On return, a pointer to the available space (in bytes) on the specified volume.

function result

A result code.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)